import request from '@/utils/request';

// 获取路由
export const getRouters = (params) => {
  return request({
    url: '/system/auth/list-menus',
    method: 'get',
    params,
  });
};
// 获取所有枚举类
export const getAllEnum = () => {
  return request({
    url: '/common/enum/getAll',
    method: 'get',
  });
};
